//
//  ZBToast.m
//  PaoPao
//
//  Created by xzb on 2018/3/29.
//  Copyright © 2018年 paopao. All rights reserved.
//

#import "ZBToast.h"
#import <Toast/Toast.h>

@implementation ZBToast

+ (void)showToast:(NSString *)message
{
    dispatch_async(dispatch_get_main_queue(), ^{
        [[UIApplication sharedApplication].keyWindow.rootViewController.view makeToast:message  duration:1.5f position:CSToastPositionCenter];
    });
}


@end
